package com.transcargo.action;

import com.transcargo.errors.ErrorList;

/**
 * Date: 17.04.2011
 * Time: 16:10:35
 */
public class ServletParametersException extends Exception {
    private String errStr = "";
    public ServletParametersException() {
      this.errStr = null;
    }
    public ServletParametersException(ErrorList s) {
      this.errStr = s.toString();
    }
    public ServletParametersException(String s) {
        this.errStr = s;
      }
    public String getMessage() {
        return errStr;
    }
}
